package com.qingmeng.apiclientsdk.model.Request;

import com.qingmeng.apiclientsdk.model.Enums.RequestMethodEnum;
import com.qingmeng.apiclientsdk.model.Params.NameParams;
import com.qingmeng.apiclientsdk.model.Response.NameResponse;
import lombok.experimental.Accessors;

/**
 * @Author: WPF
 * @DateTime: 2025/01/03 0:35
 * @Version: 1.0
 * @Description:
 */
@Accessors(chain = true)
public class NameRequest extends BaseRequest<NameParams, NameResponse>{

    @Override
    public String getPath() {
        return "/name/json";
    }

    @Override
    public String getMethod() {
        return RequestMethodEnum.GET.getValue();
    }

    /**
     * 获取响应类
     * @return Class<NameResponse>
     */
    @Override
    public Class<NameResponse> getResponseClass() {
        return NameResponse.class;
    }
}
